<ion-view view-title="{{localStorageObj.userName}}">
    <ion-nav-buttons side="right">
        <button class="button button-clear button-outline" ng-click="openMsgModal()">
            <i class="icon ion-ios-chatbubble-outline"></i>
            <i class="crm-message-dot" ng-if="hasMsg"></i>
        </button>
    </ion-nav-buttons>
    <ion-content id="crm-main-content" class="crm-content-no-padding" scroll="true">
        <ion-refresher
                pulling-text="下拉刷新"
                on-refresh="main.refresh()">
        </ion-refresher>
        <div id="crm-main-statistics" class="crm-main-title animate-blinds">
            <div class="title-item item">
            <div class="row">
                <p id="hotel_count_label">酒店数</p>
            </div>
            <div class="row">
                <div class="col-100">
                    <div class="crm-empty10"></div>
                    <p id="hotel_count_text" ui-sref="app.hotel-list-myself">{{hotel.total}}</p>
                </div>
            </div>
            </div>
            <div class="title-item item" style="border-width: 0px !important;">
                <div class="row">
                    <div class="col col-33">
                        <p id="hotel_heath_label">健康</p>
                        <p id="hotel_heath_text" class="item-value" ui-sref="app.hotel-list-private({isHealthy:1})">{{hotel.isHealthy1}}</p>
                    </div>
                    <div class="col col-33">
                        <p id="hotel_general_label">一般</p>
                        <p id="hotel_general_text" class="item-value" ui-sref="app.hotel-list-private({isHealthy:2})">{{hotel.isHealthy2}}</p>
                    </div>
                    <div class="col col-33">
                        <p id="hotel_danger_label">危险</p>
                        <p id="hotel_danger_text" class="item-value" ui-sref="app.hotel-list-private({isHealthy:3})">{{hotel.isHealthy3}}</p>
                    </div>
                </div>
            </div>
            <div class="title-item item">
                <div class="row">
                    <div class="col col-20">
                        <p id="hotel_remainder_label">余额</p>
                    </div>
                    <div class="col col-80">
                        <p class="text-right" ui-sref="app.my-bills">
                            ￥
                            <i id="hotel_remainder_text">
                                {{hotel.money | currency:""}}
                            </i>
                        </p>
                    </div>
                </div>
            </div>
        </div>
        <div id="crm-main-function">
            <div class="row title-item animate-blinds">
                <div class="col-33 middle-item item ink text-center" ui-sref="app.task">
                    <i class="icon ion-ios-list-outline middle-item-inner" style="background-color: #DB1E27;"></i>
                    <div class="text-center bottom-label">任务</div>
                </div>
                <div class="col-33 middle-item item ink text-center" ui-sref="app.hotel-list-public">
                    <i class="icon ion-ios-analytics-outline middle-item-inner" style="background-color: #5070EB;"></i>
                    <div class="text-center bottom-label">公海</div>
                </div>
                <div class="col-33 middle-item item ink text-center" ui-sref="app.hotel-list-private">
                    <i class="icon ion-ios-analytics middle-item-inner" style="background-color: #F98C25;"></i>
                    <div class="text-center bottom-label">私海</div>
                </div>
            </div>
            <div class="row title-item animate-blinds">
                <div class="col-33 middle-item item ink text-center" ui-sref="app.chars">
                    <i class="icon ion-stats-bars middle-item-inner" style="background-color: #188E1A;"></i>
                    <div class="text-center bottom-label">报表</div>
                </div>
                <div class="col-34 middle-item item ink text-center"  ui-sref="app.bills">
                    <i class="icon ion-social-yen middle-item-inner" style="background-color: #DB1E27;"></i>
                    <div class="text-center bottom-label">结算</div>
                </div>
                <div class="col-33 middle-item item ink text-center" ui-sref="app.support">
                    <i class="icon ion-android-contact middle-item-inner" style="background-color: #8D2CA8;"></i>
                    <div class="text-center bottom-label">支持</div>
                </div>
            </div>
        </div>
    </ion-content>
</ion-view>
<style>
    .scroll{
        height:100%;
    }
</style>
